package Practice;

public class Demo8LoopHourAndMinuteAndSecond {
    public static void main(String[] args) {
        for (int hour = 0; hour < 24; hour++) {
            for (int min = 0; min < 60; min++) {
                for (int sec = 0; sec < 60; sec++) {
                    System.out.println(hour + "时" + min + "分" + sec + "秒");
                }
            }
        }
    }

}
